/* 初始化样式 */
body {
    color: #333 !important;
    margin: 0;
    padding: 0;
    font-family: Arial, 'Times New Roman', 'Microsoft YaHei', SimHei !important;
}

select,
input,
textarea,
a {
    outline: none;
}

a {
    outline: none !important;
    text-decoration: none !important;
    color: #409EFF;
}

a:hover {
    color: #3a8ee6;
}

a.download {
    cursor: pointer;
}

p {
    line-height: 24px;
}

.pagination a {
    color: #000 !important;
}

.breadcrumb-edit a {
    color: #409EFF !important;
}

.breadcrumb-edit a:hover {
    color: #3a8ee6 !important;
}

.breadcrumb-edit {
    display: inline-block !important;
}

.table-hover-none tbody tr:hover {
    background-color: transparent !important;
}

#table th,
#table tr {
    text-align: center;
}

#table tr td {
    vertical-align: middle;
}

.modal-message {
    text-align: center;
    font-size: 20px;
    display: none;
}

.modal-message .message-text {
    position: relative;
    top: -5px;
    margin-left: 10px;
}

.modal-message .modal-icon-success {
    color: #5cb85c;
}

.modal-message .modal-icon-error {
    color: #d9534f;
}

.modal-message .modal-icon-info {
    color: #428bca;
}

.modal-message-flash-info {
    margin: 0;
}

#flashFooter {
    display: none;
}

.section {
    width: 100%;
    border: solid 1px #ccc;
    margin-top: 15px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    overflow: visible;
}

.section .section-title {
    width: auto;
    padding: 10px 15px;
    border-bottom: solid 1px #ccc;
}

.section .section-body {
    padding: 15px;
}

.section-primary {
    width: 100%;
    border: 1px solid #D0DFED;
    margin-top: 15px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    overflow: visible;
}

.section-primary .section-title {
    width: auto;
    padding: 10px 15px;
    border-bottom: 1px solid #D0DFED;
    color: #859FBE;
    background: #EDF3F8;
}

.section-primary .section-body {
    padding: 15px;
}

.section-grey {
    width: 100%;
    border: 1px solid #f5f5f5;
    margin-bottom: 30px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    overflow: visible;
}

.section-grey .layui-table {
    margin: 0;
}

.section-grey .section-title {
    width: auto;
    padding: 10px 15px;
    border-bottom: 1px solid #e2e2e2;
    background: #f3f3f3;
}

.section-grey .section-title small {
    font-size: 50%;
    margin-left: 20px;
    color: #888;
}

.section-grey .section-body {
    padding: 15px;
}

.section-grey-table {
    width: 100%;
    margin-bottom: 30px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    overflow: visible;
}

.section-grey-table .layui-table {
    margin: 0;
}

.section-grey-table .section-title {
    width: auto;
    padding: 10px 15px;
    border: 1px solid #e2e2e2;
    border-bottom: none;
    background: #f3f3f3;
}

.section-grey-table .section-title small {
    font-size: 50%;
    margin-left: 20px;
    color: #888;
}

.commingSoon {
    color: #888;
    position: fixed;
    left: 50%;
    margin-left: -100px;
    top: 50%;
    margin-top: -180px;
    width: 300px;
    height: 200px;
    text-align: center;
}

.commingSoon i {
    font-size: 170px;
}

.commingSoon h1 {
    margin-bottom: 8px;
}

.commingSoon p {
    font-size: 16px;
}

input[readonly] {
    background: #fff !important;
    cursor: pointer !important;
}

.title-bar {
    padding: 10px 15px;
    border: solid 1px red;
    border: 1px solid #D0DFED;
    background: #EDF3F8;
    color: #859FBE;
}

/*** webuploader插件临时文件显示样式控制 ***/

.uploader-file-queue .file-item,
.uploader-attachment-queue .file-item {
    padding: 6px 10px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.uploader-file-queue .file-item .pull-left,
.uploader-attachment-queue .file-item .pull-left {
    width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
}

.uploader-file-queue .file-item:hover,
.uploader-attachment-queue .file-item:hover {
    background: #f5f5f5;
}

.uploader-file-queue .file-item i.icon-remove,
.uploader-attachment-queue .file-item i.icon-remove {
    color: #ccc;
    cursor: pointer;
}

.uploader-file-queue .file-item i.icon-remove:hover,
.uploader-attachment-queue .file-item i.icon-remove:hover {
    color: #d9534f;
}

/*** 定义tag样式 ***/
.tag {
    display: inline;
    padding: 2px 5px;
    color: #fff;
    font-size: 85%;
    background: #428bca;
    border-radius: 2px;
    cursor: default;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.tag-primary {
    background: #428bca;
}

.txt-primary {
    color: #428bca;
}

.tag-night {
    background: #888;
}

.tag-warning {
    background: #f0ad4e;
}

.txt-warning {
    color: #f0ad4e;
}

.tag-info {
    background: #5bc0de;
}

.txt-info {
    color: #5bc0de;
}

.tag-danger {
    background: #d9534f;
}

.txt-danger {
    color: #d9534f;
}

.tag-success {
    background: #5cb85c;
}

.txt-success {
    color: #5cb85c;
}

.tag-free {
    background: #FBA362;
    color: #fff;
}

.tag-pay {
    background: #966B94;
    color: #fff;
}

.tag-brown {
    background: #827a4b;
    color: #fff;
}

.tag-black {
    background: #333;
    color: #fff;
}

/*** 文件图标 ***/

i.file-icon {
    width: 14px;
    height: 14px;
    -webkit-background-size: 100%;
    background-size: 100%;
    display: inline-block;
    position: relative;
    top: 1px;
}

i[class^="file-icon-ext-"] {
    background: url("../img/fileIcon/icon_default.png") center center no-repeat;
}

i.file-icon-ext-xls,
i.file-icon-ext-xlsx {
    background: url("../img/fileIcon/icon_xls.gif") center center no-repeat;
}

i.file-icon-ext-doc,
i.file-icon-ext-docx {
    background: url("../img/fileIcon/icon_doc.gif") center center no-repeat;
}

i.file-icon-ext-pdf {
    background: url("../img/fileIcon/icon_pdf.gif") center center no-repeat;
}

i.file-icon-ext-ppt,
i.file-icon-ext-pptx {
    background: url("../img/fileIcon/icon_ppt.gif") center center no-repeat;
}

i.file-icon-ext-mp3 {
    background: url("../img/fileIcon/icon_mp3.gif") center center no-repeat;
}

i.file-icon-ext-mv {
    background: url("../img/fileIcon/icon_mv.gif") center center no-repeat;
}

i.file-icon-ext-txt {
    background: url("../img/fileIcon/icon_txt.gif") center center no-repeat;
}

i.file-icon-ext-psd {
    background: url("../img/fileIcon/icon_psd.gif") center center no-repeat;
}

i.file-icon-ext-chm {
    background: url("../img/fileIcon/icon_chm.gif") center center no-repeat;
}

i.file-icon-ext-exe {
    background: url("../img/fileIcon/icon_exe.gif") center center no-repeat;
}

i.file-icon-ext-jpg,
i.file-icon-ext-png,
i.file-icon-ext-gif,
i.file-icon-ext-jpeg {
    background: url("../img/fileIcon/icon_jpg.gif") center center no-repeat;
}

i.file-icon-ext-rar,
i.file-icon-ext-zip {
    background: url("../img/fileIcon/icon_rar.gif") center center no-repeat;
}

/*** 定义fieldset样式 ***/

.fl-fieldset {
    margin: 15px 0;
}

.fl-fieldset legend {
    font-size: 17px;
    padding-bottom: 7px;
}

.fl-fieldset legend small {
    margin-left: 20px;
    color: #999;
    font-size: 50%;
}

/*** 没有权限访问页面 ***/

.permission-denied {
    text-align: center;
    margin: 150px auto 0;
    color: #888;
}

.permission-denied .permission-denied-icon {
    font-size: 80px;
}

.permission-denied .permission-denied-text-zh {
    font-size: 20px;
}

.permission-denied .permission-denied-text-en {
    font-size: 12px;
}

.tree-table {
    width: 100%;
}

.tree-table tr td {
    padding: 15px;
    border: solid 1px #e2e2e2;
    vertical-align: top;
}

.tree-table tr td:first-child {
    width: 20%;
    font-weight: 600;
}

.line_h {
    margin: 15px 0 !important;
}

.style-recovery ol li,
.style-recovery ul li {
    list-style: inherit;
    display: list-item;
    text-align: -webkit-match-parent;
}

.style-recovery ol,
.style-recovery ul {
    display: block;
    list-style-type: decimal;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 40px;
}

.seal-success,
.seal-danger,
.seal-default {
    position: absolute;
    right: 40px;
    top: 40px;
    z-index: 1;
    width: 120px;
    height: 120px;
    border-radius: 120px;
    text-align: center;
    font-size: 20px;
    transform: rotate(-25deg);
}

.seal-success {
    border: solid 4px rgb(16, 170, 16, .5);
}

.seal-danger {
    border: solid 4px rgba(170, 16, 16, 0.5);
}

.seal-default {
    border: solid 4px rgba(141, 141, 141, 0.5);
}

.seal-success .seal-pass,
.seal-danger .seal-fail,
.seal-default .seal-wait {
    width: 80px;
    height: 80px;
    margin: 16px auto 0;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    border-radius: 80px;
}

.seal-success .seal-pass {
    border: solid 3px rgb(16, 170, 16, .5);
}

.seal-danger .seal-fail {
    border: solid 3px rgba(170, 16, 16, 0.5);
}

.seal-default .seal-wait {
    border: solid 3px rgba(141, 141, 141, 0.5);
}

.seal-success .seal-pass span,
.seal-danger .seal-fail span,
.seal-default .seal-wait span {
    font-weight: 600;
}

.seal-success .seal-pass span {
    color: rgb(16, 170, 16, .5);
}

.seal-danger .seal-fail span {
    color: rgba(170, 16, 16, 0.5);
}

.seal-default .seal-wait span {
    color: rgba(141, 141, 141, 0.5);
}

.tb-p {
    padding-left: 15px;
    margin-top: 40px;
    border-left: solid 6px #428bca;
}

.floor {
    margin: 20px 0;
    padding-top: 20px;
    border-top: solid 1px #eee;
}

.floor:first-child {
    border: 0px;
}

.floor .floor-flex {
    display: flex;
}

.floor .floor-flex .floor-right .floor-header {
    margin-top: 2px;
}

.floor .well {
    margin-top: 20px;
}

.floor .floor {
    margin: 0 0 30px 0;
    padding-top: 0;
    border: none;
}

.floor .floor-body {
    margin-left: 60px;
}

.floor .floor:last-child {
    margin: 0;
}

.floor .floor-left {
    width: 60px;
}

.floor .floor-right {
    flex: 1;
}

.floor .floor-right .floor-header {
    margin-bottom: 10px;
}

.floor .reply-comment-btn {
    margin-right: 10px;
}

/* 编辑器样式重置 */
.wang-editor-custom p {
    margin: 10px 0;
}

.wang-editor-custom ol,
.wang-editor-custom ul {
    margin: 10px 0 10px 20px;
}

.wang-editor-custom ol li,
.wang-editor-custom ul li {
    margin: 10px 5px !important;
    padding-left: 0 !important;
}

.wang-editor-custom li {
    list-style: inherit;
}

.wang-editor-custom .w-e-text a {
    color: #409eff;
}

.wang-editor-custom .w-e-text a:hover {
    cursor: pointer;
}

.wang-editor-custom blockquote {
    display: block;
    border-left: 8px solid #d0e5f2;
    padding: 5px 10px;
    margin: 10px 0;
    line-height: 24px;
    font-size: 100%;
    background-color: #f1f1f1;
}

.card {
    border: solid 1px #ccc;
    margin-bottom: 30px;
}

.card .card-header {
    padding: 10px 20px;
}

.card .card-body {
    padding: 15px 20px;
    line-height: 24px;
}

.card .card-primary {
    background: #428bca;
}

.card .card-danger {
    background: #d9534f;
}

.card .card-success {
    background: #5cb85c;
}

.card .card-primary,
.card .card-danger,
.card .card-success {
    color: #fff;
}

.card .card-footer {
    border-top: solid 1px #ccc;
    padding: 15px 20px;
    background: #f2f2f2;
}

/* 空数据全局通用样式 */
.no-data {
    text-align: center;
    margin: 0 auto;
    padding-top: 80px;
    color: #888;
}

.no-data .no-data-icon {
    font-size: 100px;
}

.no-data .no-data-cn-text {
    font-size: 20px;
}

.no-data .no-data-en-text {
    font-size: 12px;
}

/* 楼层回复通用样式*/
.reply-cc-box {
    font-size: 12px
}

.reply-cc-box .reply-cc-box-cc, .reply-cc-box-floor {
    margin-right: 20px;
    color: #aaa;
}

.font-weight-bold {
    font-weight: bold;
}

.valign-middle {
    vertical-align: middle !important;
}

.valign-top {
    vertical-align: top !important;
}

.valign-bottom {
    vertical-align: bottom !important;
}

.border-none {
    border: none !important;
}

.table td, .table th {
    padding: 12px !important;
}

.text-overflow {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.table-vertical-middle td {
    vertical-align: middle !important;
}

.table-layout-fixed-simple {
    table-layout: fixed;
}

.table-layout-fixed {
    table-layout: fixed;
}

.table-layout-fixed td {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.table-border-none {
    border: none !important;
}

.table-border-none th, .table-border-none td {
    border: none !important;
}

.mx-auto {
    margin: 0 auto;
}

.user-select-none {
    user-select: none;
}

/* @ 用户高亮 */
.atwho-inserted {
    color: #409EFF;
}